import Cookies from 'js-cookie'

const TokenKey1 = 'accessToken'
const TokenKey2 = 'refTokreshen'

export function getToken2() {
  return Cookies.get(TokenKey2)
}

export function setToken2(token) {
  return Cookies.set(TokenKey2, token)
}

export function removeToken2() {
  return Cookies.remove(TokenKey2)
}
export function getToken1() {
  return Cookies.get(TokenKey1)
}

export function setToken1(token) {
  return Cookies.set(TokenKey1, token)

}

export function removeToken1() {
  return Cookies.remove(TokenKey1)

}
